﻿using B.S.Packaged.Domain;
using B.S.Packaged.ErrorCode;
using MediatR;

namespace B.S.Packaged.WebAPI.Read.Application.Command.CompletedStorageCommand
{
    /// <summary>
    /// 
    /// </summary>
    public class GetCompletedStorageCommand : IRequest<APIResult<APIPaging<CompletedStorage>>>
    {
        public int pageindex { get; set; }
        public int pageSize { get; set; }

        /// <summary>
        /// 工厂
        /// </summary>
        public string? factory { get; set; }
        /// <summary>
        /// 事务起始时间
        /// </summary>
        public DateTime? transactionTime { get; set; }
        /// <summary>
        /// 事务结束时间
        /// </summary>
        public DateTime? transactionEndTime { get; set; }
        /// <summary>
        ///工单号
        /// </summary>
        public string? workOrderNo { get; set; }
        /// <summary>
        /// 成品产品批次号
        /// </summary>
        public string? finishedProductBatch { get; set; }
        /// <summary>
        /// 产线
        /// </summary>
        public string? productionLine { get; set; }
        /// <summary>
        /// 班组
        /// </summary>
        public string? team { get; set; }
        /// <summary>
        ///班次
        /// </summary>
        public string? shift { get; set; }
        /// <summary>
        ///物料编码
        /// </summary>
        public string? materialCode { get; set; }
        /// <summary>
        /// 入出类型
        /// </summary>
        public string? accessType { get; set; }
        /// <summary>
        ///票号
        /// </summary>
        public string? TicketNumber { get; set; }
        /// <summary>
        /// 工单类型
        /// </summary>
        public string? workoOderType { get; set; }
    }
}
